home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 1.8 KB | 41 lines | [TEXT/GEOL] |
- Item 2349237 16-Feb-88 22:24
-
- From: D1002 PEMD Ed Group, Dev, E Rosenberg
-
- To: MACAPP$ MacApp Interest List
-
- cc: MACDTS Macintosh Developer Technical Supt.
-
- Sub: Compiler Differences
-
- Thanks for the excellent response on our "Compiler Differences" link.
-
- We've rooted them out. One difference simply came from a logical error on our
- part when handling the gFreeWindowList , with and without a debug window
- present. The second difference involved assigning a character to the
- first character of a 1 character string. The debug version worked
- by making the assignment directly, followed by a very kludgy copy
- statement without which garbage occurred. The optimized version
- luckly just produced a blank where the character shoud have been. The
- problem was solved by first making a dummy assignment to the entire
- string(e.g. CharString:='A';) and then assigning the first character
- of this string as is needed (e.g. CharString[1]:= Chr(J+64);). In short,
- the optimized version demanded that we follow the guidelines in the
- last sentence of p.7-8 of the MPW Pascal manual.
-
- To the developers of MacApp, I again want to express our thanks and admiration.
- The product continues to allow non-professional programmers, like ourselves,
- to concentrate less on the intracies of Macintosh programming and more
- on whatever unique software contribution we may make. This was the first
- time we compiled an optomized version of our code. The debug version
- is about 225K. We were just delighted to see an optomized version of
- 106K with really impressive increases in speed and were again
- impressed with the quality and power of the MPW-MacApp programming environment.
-
-
-
-
-
-
-
-